package com.gome.ocean.service.datax;

import java.util.List;
import java.util.Map;

import com.github.pagehelper.Page;
import com.gome.ocean.dao.model.datasource.ExportBean;

/**
 * @author zhangguoqing 2016年12月28日 下午3:44:09
 * @since 5.0.0
 */
public interface IExportService {

    public boolean insert(ExportBean bean);

    public boolean update(ExportBean bean);

    public boolean delete(Long id);

    public ExportBean getBeanByMap(Map<String, Object> map);

    public Page<ExportBean> getBeanListsByMap(Map<String, Object> map, Integer pageNum, Integer pageSize);

    public Page<ExportBean> getBeanListsByProject(List<String> projects, Integer pageNum, Integer pageSize);

    public Long getMaxId();
}
